package com.sand.feign;

import com.sand.dto.Select.UserSelect;
import com.sand.dto.supplier.AddSupplier;
import com.sand.dto.supplier.SupplierDto;
import com.sand.result.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("juao-supplier")
public interface supplierFeign {

    @PostMapping("/supplier/select")
    public ResponseResult<SupplierDto> select(@RequestBody UserSelect userSelect);

}
